<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/vue.js"></script>
    <style>
        html{
            user-select: none;
        }
        .advertisement{
            position: absolute;
            display: flex;
            flex-flow: row nowrap;
            font-size: 0px;
        }
        .hide-tip{
            width: 0px;
            overflow: hidden;
            transition: all 300ms ease-in;
        }
    </style>
</head>
<body>
    <div id="app">
        <div class="advertisement">
            <div class="show-tip"
                @mouseover=" w=100 "
                @mouseout=" w=0 "
            >
                <img src="../img/6.png" alt="" srcset="">
            </div>
            <div class="hide-tip" v-bind:style=" `width:${w}%;` ">
                <img src="../img/7.jpg" alt="" srcset="">
            </div>
        </div>
    </div>
</body>
<script>
    new Vue({
        el:"#app",
        data:{
            w:0
        }
        
    })
</script>
</html>